<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.7"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DGRv2: model/ipv4-dgr-routing.h Source File</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../resize.js"></script>
<script type="text/javascript" src="../../navtreedata.js"></script>
<script type="text/javascript" src="../../navtree.js"></script>
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../search/searchdata.js"></script>
<script type="text/javascript" src="../../search/search.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">DGRv2<span id="projectnumber">&#160;2-dev</span>
   </div>
   <div id="projectbrief">A Delay-Guaranteed Routing Protocol model in ns-3</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.7 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('dd/d5c/ipv4-dgr-routing_8h_source.html','../../'); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="headertitle"><div class="title">ipv4-dgr-routing.h</div></div>
</div><!--header-->
<div class="contents">
<a href="../../dd/d5c/ipv4-dgr-routing_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="comment">// -*- Mode:C++; c-file-style:&quot;gnu&quot;; indent-tabs-mode:nil; -*-</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="comment">//</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="comment">// Copyright (c) 2008 University of Washington</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="comment">//</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span><span class="comment">// This program is free software; you can redistribute it and/or modify</span></div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="comment">// it under the terms of the GNU General Public License version 2 as</span></div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span><span class="comment">// published by the Free Software Foundation;</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span><span class="comment">//</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span><span class="comment">// This program is distributed in the hope that it will be useful,</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span><span class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span><span class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span><span class="comment">// GNU General Public License for more details.</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span><span class="comment">//</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span><span class="comment">// You should have received a copy of the GNU General Public License</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span><span class="comment">// along with this program; if not, write to the Free Software</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span><span class="comment">// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span><span class="comment">//</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span><span class="comment">//</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span> </div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span><span class="comment">// #ifndef IPV4_GLOBAL_ROUTING_H</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span><span class="comment">// #define IPV4_GLOBAL_ROUTING_H</span></div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#ifndef IPV4_DGR_ROUTING_H</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span><span class="preprocessor">#define IPV4_DGR_ROUTING_H</span></div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span> </div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &lt;list&gt;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &lt;map&gt;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span><span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span><span class="preprocessor">#include &quot;ns3/ipv4-address.h&quot;</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span><span class="preprocessor">#include &quot;ns3/ipv4-header.h&quot;</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span><span class="preprocessor">#include &quot;ns3/ptr.h&quot;</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span><span class="preprocessor">#include &quot;ns3/ipv4.h&quot;</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="preprocessor">#include &quot;ns3/ipv4-routing-protocol.h&quot;</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span><span class="preprocessor">#include &quot;ns3/random-variable-stream.h&quot;</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span><span class="preprocessor">#include &quot;ns3/nstime.h&quot;</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span><span class="preprocessor">#include &quot;<a class="code" href="../../d5/d9c/dgr-route-manager-impl_8h.html">dgr-route-manager-impl.h</a>&quot;</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span><span class="preprocessor">#include &quot;<a class="code" href="../../de/dc1/dgr-header_8h.html">dgr-header.h</a>&quot;</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span><span class="preprocessor">#include &quot;<a class="code" href="../../db/db8/ipv4-dgr-routing-table-entry_8h.html">ipv4-dgr-routing-table-entry.h</a>&quot;</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span><span class="preprocessor">#include &quot;<a class="code" href="../../d1/daf/neighbor-status-database_8h.html">neighbor-status-database.h</a>&quot;</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span> </div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span><span class="keyword">namespace </span><a class="code hl_namespace" href="../../d7/d2e/namespacens3.html">ns3</a> {</div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno">   43</span><span class="keyword">class </span>Packet;</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span><span class="keyword">class </span>NetDevice;</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span><span class="keyword">class </span>Ipv4Interface;</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span><span class="keyword">class </span>Ipv4Address;</div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span><span class="keyword">class </span>Ipv4Header;</div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span><span class="keyword">class </span>Ipv4DGRRoutingTableEntry;</div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span><span class="keyword">class </span>Ipv4MulticastRoutingTableEntry;</div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span><span class="keyword">class </span>Node;</div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span> </div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">   79</a></span><span class="keyword">class </span><a class="code hl_class" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">Ipv4DGRRouting</a> : <span class="keyword">public</span> <a class="code hl_class" href="../../de/d90/class_ipv4_routing_protocol.html">Ipv4RoutingProtocol</a></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>{</div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span><span class="keyword">public</span>:</div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>  <span class="keyword">static</span> TypeId <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a036fb895e8c59952080959790ce8c665">GetTypeId</a> (<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>  <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aec9dd007650cdc339cc98cfd210ebe22">Ipv4DGRRouting</a> ();</div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>  <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a721c9a4f9f12805a8c68f2972bbe2e9c">~Ipv4DGRRouting</a> ();</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span> </div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno">   99</span>  <span class="comment">// These methods inherited from base class</span></div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>  Ptr&lt;Ipv4Route&gt; <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa949f02ca52008f8201ee9915fdd0191">RouteOutput</a> (Ptr&lt;Packet&gt; p, <span class="keyword">const</span> Ipv4Header &amp;header, Ptr&lt;NetDevice&gt; oif, Socket::SocketErrno &amp;sockerr);</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span> </div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>  <span class="keywordtype">bool</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7e7c34d7e0a922980bf3fdf62f9bbe1b">RouteInput</a>  (Ptr&lt;const Packet&gt; p, <span class="keyword">const</span> Ipv4Header &amp;header, Ptr&lt;const NetDevice&gt; idev,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>                            UnicastForwardCallback ucb, MulticastForwardCallback mcb,</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>                            LocalDeliverCallback lcb, ErrorCallback ecb);</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9715cb5895be31d03b1ffe15212fec57">NotifyInterfaceUp</a> (uint32_t interface);</div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno">  106</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a5fabc015fa802a4c056cf14359ea898e">NotifyInterfaceDown</a> (uint32_t interface);</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9cdc7d3663a11b90bec029c7a3e6cba2">NotifyAddAddress</a> (uint32_t interface, Ipv4InterfaceAddress address);</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a45022db22ac734cfdde51a3a8bc0ecf1">NotifyRemoveAddress</a> (uint32_t interface, Ipv4InterfaceAddress address);</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a207e729e59e0539db18dd241276bf02e">SetIpv4</a> (Ptr&lt;Ipv4&gt; ipv4);</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0670297c54c9f0715d5d90a0cafc529d">PrintRoutingTable</a> (Ptr&lt;OutputStreamWrapper&gt; stream, Time::Unit unit = Time::S) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span> </div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff852295cbcf0faf17da98100b6d04ab">AddHostRouteTo</a> (Ipv4Address dest, </div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>                       Ipv4Address nextHop, </div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>                       uint32_t interface);</div>
<div class="line"><a id="l00134" name="l00134"></a><span class="lineno">  134</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff852295cbcf0faf17da98100b6d04ab">AddHostRouteTo</a> (Ipv4Address dest, </div>
<div class="line"><a id="l00135" name="l00135"></a><span class="lineno">  135</span>                       uint32_t interface);</div>
<div class="line"><a id="l00136" name="l00136"></a><span class="lineno">  136</span> </div>
<div class="line"><a id="l00146" name="l00146"></a><span class="lineno">  146</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff852295cbcf0faf17da98100b6d04ab">AddHostRouteTo</a> (Ipv4Address dest,</div>
<div class="line"><a id="l00147" name="l00147"></a><span class="lineno">  147</span>                       Ipv4Address nextHop,</div>
<div class="line"><a id="l00148" name="l00148"></a><span class="lineno">  148</span>                       uint32_t interface,</div>
<div class="line"><a id="l00149" name="l00149"></a><span class="lineno">  149</span>                       uint32_t nextInterface,</div>
<div class="line"><a id="l00150" name="l00150"></a><span class="lineno">  150</span>                       uint32_t distance);</div>
<div class="line"><a id="l00151" name="l00151"></a><span class="lineno">  151</span> </div>
<div class="line"><a id="l00163" name="l00163"></a><span class="lineno">  163</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aaf886686054aa6dfa4779ce25b4ee21a">AddNetworkRouteTo</a> (Ipv4Address network, </div>
<div class="line"><a id="l00164" name="l00164"></a><span class="lineno">  164</span>                          Ipv4Mask networkMask, </div>
<div class="line"><a id="l00165" name="l00165"></a><span class="lineno">  165</span>                          Ipv4Address nextHop, </div>
<div class="line"><a id="l00166" name="l00166"></a><span class="lineno">  166</span>                          uint32_t interface);</div>
<div class="line"><a id="l00167" name="l00167"></a><span class="lineno">  167</span> </div>
<div class="line"><a id="l00178" name="l00178"></a><span class="lineno">  178</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aaf886686054aa6dfa4779ce25b4ee21a">AddNetworkRouteTo</a> (Ipv4Address network, </div>
<div class="line"><a id="l00179" name="l00179"></a><span class="lineno">  179</span>                          Ipv4Mask networkMask, </div>
<div class="line"><a id="l00180" name="l00180"></a><span class="lineno">  180</span>                          uint32_t interface);</div>
<div class="line"><a id="l00181" name="l00181"></a><span class="lineno">  181</span> </div>
<div class="line"><a id="l00191" name="l00191"></a><span class="lineno">  191</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a94b9f168bd3285ed47b5c5f1f59f847b">AddASExternalRouteTo</a> (Ipv4Address network,</div>
<div class="line"><a id="l00192" name="l00192"></a><span class="lineno">  192</span>                             Ipv4Mask networkMask,</div>
<div class="line"><a id="l00193" name="l00193"></a><span class="lineno">  193</span>                             Ipv4Address nextHop,</div>
<div class="line"><a id="l00194" name="l00194"></a><span class="lineno">  194</span>                             uint32_t interface);</div>
<div class="line"><a id="l00195" name="l00195"></a><span class="lineno">  195</span> </div>
<div class="line"><a id="l00203" name="l00203"></a><span class="lineno">  203</span>  uint32_t <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3558caabfea9b5e9f27ccea4bb2b6603">GetNRoutes</a> (<span class="keywordtype">void</span>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00204" name="l00204"></a><span class="lineno">  204</span> </div>
<div class="line"><a id="l00225" name="l00225"></a><span class="lineno">  225</span>  <a class="code hl_class" href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">Ipv4DGRRoutingTableEntry</a> *<a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#ac186d277e77bbdfb2bc216691eefbbab">GetRoute</a> (uint32_t <a class="code hl_variable" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00226" name="l00226"></a><span class="lineno">  226</span> </div>
<div class="line"><a id="l00243" name="l00243"></a><span class="lineno">  243</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a55aea61c57e39ba4756d22d4e646cd3e">RemoveRoute</a> (uint32_t <a class="code hl_variable" href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">i</a>);</div>
<div class="line"><a id="l00244" name="l00244"></a><span class="lineno">  244</span> </div>
<div class="line"><a id="l00245" name="l00245"></a><span class="lineno">  245</span> </div>
<div class="line"><a id="l00250" name="l00250"></a><span class="lineno">  250</span>  <span class="comment">// void BuildDGRNeighbourStateDatabase ();</span></div>
<div class="line"><a id="l00251" name="l00251"></a><span class="lineno">  251</span> </div>
<div class="line"><a id="l00260" name="l00260"></a><span class="lineno">  260</span>  int64_t <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a54fc1b9c309b92d6d2e6c193752eb4bc">AssignStreams</a> (int64_t stream);</div>
<div class="line"><a id="l00261" name="l00261"></a><span class="lineno">  261</span> </div>
<div class="line"><a id="l00262" name="l00262"></a><span class="lineno">  262</span>  <span class="comment">// static bool CompareRouteCost(Ipv4DGRRoutingTableEntry* route1, Ipv4DGRRoutingTableEntry* route2);</span></div>
<div class="line"><a id="l00269" name="l00269"></a><span class="lineno">  269</span><span class="comment"></span>  Ptr&lt;Ipv4Route&gt; <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a95ddcbfcdb50ecdb48bfd91575836fe6">LookupUniRoute</a> (Ipv4Address dest, Ptr&lt;NetDevice&gt; oif = 0);</div>
<div class="line"><a id="l00270" name="l00270"></a><span class="lineno">  270</span>  Ptr&lt;Ipv4Route&gt; <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a552819000c07190404d6bd5db6d1ce84">LookupDGRRoute</a> (Ipv4Address dest, Ptr&lt;Packet&gt; p, Ptr&lt;const NetDevice&gt; idev = 0); <span class="comment">// budget in microsecond</span></div>
<div class="line"><a id="l00274" name="l00274"></a><span class="lineno">  274</span><span class="comment"></span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372">DoInitialize</a> () <span class="keyword">override</span>;</div>
<div class="line"><a id="l00275" name="l00275"></a><span class="lineno">  275</span><span class="keyword">protected</span>:</div>
<div class="line"><a id="l00279" name="l00279"></a><span class="lineno">  279</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a258dcb9de99bd828247e0d6c3e08793d">DoDispose</a> (<span class="keywordtype">void</span>) <span class="keyword">override</span>;</div>
<div class="line"><a id="l00280" name="l00280"></a><span class="lineno">  280</span> </div>
<div class="line"><a id="l00281" name="l00281"></a><span class="lineno">  281</span> </div>
<div class="line"><a id="l00282" name="l00282"></a><span class="lineno">  282</span><span class="keyword">private</span>:</div>
<div class="line"><a id="l00284" name="l00284"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3df34b3a6127f1b45c0c5406e8080226">  284</a></span>  <span class="keywordtype">bool</span> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3df34b3a6127f1b45c0c5406e8080226">m_randomEcmpRouting</a>;</div>
<div class="line"><a id="l00286" name="l00286"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a89c21e449a0c76b491a29fb1e1e81eb9">  286</a></span>  <span class="keywordtype">bool</span> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a89c21e449a0c76b491a29fb1e1e81eb9">m_respondToInterfaceEvents</a>;</div>
<div class="line"><a id="l00288" name="l00288"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a92e2368664df1213c26bafd520582032">  288</a></span>  Ptr&lt;UniformRandomVariable&gt; <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a92e2368664df1213c26bafd520582032">m_rand</a>;</div>
<div class="line"><a id="l00289" name="l00289"></a><span class="lineno">  289</span> </div>
<div class="line"><a id="l00291" name="l00291"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0280dbec23318b36b8c8b5a7c10510d4">  291</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt; <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0280dbec23318b36b8c8b5a7c10510d4">HostRoutes</a>;</div>
<div class="line"><a id="l00293" name="l00293"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a619144f0acc141bc74ae09ace488009a">  293</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::const_iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a619144f0acc141bc74ae09ace488009a">HostRoutesCI</a>;</div>
<div class="line"><a id="l00295" name="l00295"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8fe42d90325ac5879408d2257ce57c47">  295</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8fe42d90325ac5879408d2257ce57c47">HostRoutesI</a>;</div>
<div class="line"><a id="l00296" name="l00296"></a><span class="lineno">  296</span> </div>
<div class="line"><a id="l00298" name="l00298"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7f83eeb24903b910a78b02257e27327f">  298</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt; <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7f83eeb24903b910a78b02257e27327f">NetworkRoutes</a>;</div>
<div class="line"><a id="l00300" name="l00300"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a946d8c87ff42387b8aa817fe09bd838e">  300</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::const_iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a946d8c87ff42387b8aa817fe09bd838e">NetworkRoutesCI</a>;</div>
<div class="line"><a id="l00302" name="l00302"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0521ee280d49058fdcf8b38bf550dd34">  302</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0521ee280d49058fdcf8b38bf550dd34">NetworkRoutesI</a>;</div>
<div class="line"><a id="l00303" name="l00303"></a><span class="lineno">  303</span> </div>
<div class="line"><a id="l00305" name="l00305"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6927e0c49f53e92eb4b2acaf5cfebf31">  305</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt; <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6927e0c49f53e92eb4b2acaf5cfebf31">ASExternalRoutes</a>;</div>
<div class="line"><a id="l00307" name="l00307"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a50f6d06d84b83009e0b0a8fe170bc5d1">  307</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::const_iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a50f6d06d84b83009e0b0a8fe170bc5d1">ASExternalRoutesCI</a>;</div>
<div class="line"><a id="l00309" name="l00309"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a14c8aee9a70a6fbb8f1ea784689838d2">  309</a></span>  <span class="keyword">typedef</span> std::list&lt;Ipv4DGRRoutingTableEntry *&gt;::iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a14c8aee9a70a6fbb8f1ea784689838d2">ASExternalRoutesI</a>;</div>
<div class="line"><a id="l00310" name="l00310"></a><span class="lineno">  310</span> </div>
<div class="line"><a id="l00311" name="l00311"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a93f4dd2543d12d9466bbd7b6131e0580">  311</a></span>  <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0280dbec23318b36b8c8b5a7c10510d4">HostRoutes</a> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a93f4dd2543d12d9466bbd7b6131e0580">m_hostRoutes</a>;             </div>
<div class="line"><a id="l00312" name="l00312"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#adf7379affaf0463cb351765b3caf8dae">  312</a></span>  <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7f83eeb24903b910a78b02257e27327f">NetworkRoutes</a> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#adf7379affaf0463cb351765b3caf8dae">m_networkRoutes</a>;       </div>
<div class="line"><a id="l00313" name="l00313"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3a1304dc7321af8536c44840257b8f50">  313</a></span>  <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6927e0c49f53e92eb4b2acaf5cfebf31">ASExternalRoutes</a> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3a1304dc7321af8536c44840257b8f50">m_ASexternalRoutes</a>; </div>
<div class="line"><a id="l00314" name="l00314"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3b78bce24115ecebf085e0c7c1f43583">  314</a></span>  Ptr&lt;Ipv4&gt; <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3b78bce24115ecebf085e0c7c1f43583">m_ipv4</a>; </div>
<div class="line"><a id="l00315" name="l00315"></a><span class="lineno">  315</span>  </div>
<div class="line"><a id="l00316" name="l00316"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a20d3a603d150f5ce97b49bcd1028e7e0">  316</a></span>  <a class="code hl_class" href="../../dd/d41/classns3_1_1_dgr_n_s_d_b.html">DgrNSDB</a> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a20d3a603d150f5ce97b49bcd1028e7e0">m_nsdb</a>; </div>
<div class="line"><a id="l00317" name="l00317"></a><span class="lineno">  317</span> </div>
<div class="line"><a id="l00318" name="l00318"></a><span class="lineno">  318</span>  <span class="comment">// use a socket list neighbors</span></div>
<div class="line"><a id="l00322" name="l00322"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6bb30b8faec1a9afebab84881299d323">  322</a></span><span class="comment"></span>  <span class="keyword">typedef</span> std::map&lt;Ptr&lt;Socket&gt;, uint32_t&gt; <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6bb30b8faec1a9afebab84881299d323">SocketList</a>;</div>
<div class="line"><a id="l00324" name="l00324"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a493660f3b2ceaf55ef8b9c89aa5966f8">  324</a></span>  <span class="keyword">typedef</span> std::map&lt;Ptr&lt;Socket&gt;, uint32_t&gt;::iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a493660f3b2ceaf55ef8b9c89aa5966f8">SocketListI</a>;</div>
<div class="line"><a id="l00326" name="l00326"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a744cc3e33b740ef8a80775b61c1ea598">  326</a></span>  <span class="keyword">typedef</span> std::map&lt;Ptr&lt;Socket&gt;, uint32_t&gt;::const_iterator <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a744cc3e33b740ef8a80775b61c1ea598">SocketListCI</a>;</div>
<div class="line"><a id="l00327" name="l00327"></a><span class="lineno">  327</span> </div>
<div class="line"><a id="l00328" name="l00328"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#acf002938df9649de6e46caba3212d52a">  328</a></span>  <a class="code hl_typedef" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6bb30b8faec1a9afebab84881299d323">SocketList</a>  <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#acf002938df9649de6e46caba3212d52a">m_unicastSocketList</a>; </div>
<div class="line"><a id="l00329" name="l00329"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a77198894f24e45afcdcd80c63f02a507">  329</a></span>  Ptr&lt;Socket&gt; <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a77198894f24e45afcdcd80c63f02a507">m_multicastRecvSocket</a>; </div>
<div class="line"><a id="l00330" name="l00330"></a><span class="lineno">  330</span> </div>
<div class="line"><a id="l00331" name="l00331"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3e0c7233d7c81a2ee3890506bd45e4a8">  331</a></span>  EventId <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3e0c7233d7c81a2ee3890506bd45e4a8">m_nextUnsolicitedUpdate</a>; </div>
<div class="line"><a id="l00332" name="l00332"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aab87511766c1d52fad340cb7e9031ad2">  332</a></span>  EventId <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aab87511766c1d52fad340cb7e9031ad2">m_nextTriggeredUpdate</a>; </div>
<div class="line"><a id="l00333" name="l00333"></a><span class="lineno">  333</span> </div>
<div class="line"><a id="l00334" name="l00334"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa6cef6ca1b8081689f2c63246b96eacb">  334</a></span>  Time <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa6cef6ca1b8081689f2c63246b96eacb">m_unsolicitedUpdate</a>;             </div>
<div class="line"><a id="l00335" name="l00335"></a><span class="lineno">  335</span> </div>
<div class="line"><a id="l00336" name="l00336"></a><span class="lineno">  336</span>  <span class="comment">// Time m_startupDelay;            //!&lt; Random delay before protocol startup</span></div>
<div class="line"><a id="l00337" name="l00337"></a><span class="lineno">  337</span>  <span class="comment">// Time m_minTriggeredUpdateDelay; //!&lt; Min cooldown delay after a Triggered Update.</span></div>
<div class="line"><a id="l00338" name="l00338"></a><span class="lineno">  338</span>  <span class="comment">// Time m_maxTriggeredUpdateDelay; //!&lt; Max cooldown delay after a Triggered Update.  </span></div>
<div class="line"><a id="l00339" name="l00339"></a><span class="lineno">  339</span>  <span class="comment">// Time m_unsolicitedUpdate;       //!&lt; time between two Unsolicited Routing Updates.</span></div>
<div class="line"><a id="l00340" name="l00340"></a><span class="lineno">  340</span>  <span class="comment">// Time m_timeoutDelay;            //!&lt; Delay before invalidating a status</span></div>
<div class="line"><a id="l00341" name="l00341"></a><span class="lineno">  341</span> </div>
<div class="line"><a id="l00342" name="l00342"></a><span class="lineno">  342</span> </div>
<div class="line"><a id="l00343" name="l00343"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8656e82eb3ad70826fc72f14d85bfab6">  343</a></span>  std::set&lt;uint32_t&gt; <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8656e82eb3ad70826fc72f14d85bfab6">m_interfaceExclusions</a>; </div>
<div class="line"><a id="l00344" name="l00344"></a><span class="lineno">  344</span>  </div>
<div class="line"><a id="l00350" name="l00350"></a><span class="lineno">  350</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a2eb8a683180ce3d3726767f5b986e3d8">Receive</a> (Ptr&lt;Socket&gt; socket);</div>
<div class="line"><a id="l00351" name="l00351"></a><span class="lineno">  351</span> </div>
<div class="line"><a id="l00356" name="l00356"></a><span class="lineno">  356</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172">DoSendNeighborStatusUpdate</a> (<span class="keywordtype">bool</span> periodic);</div>
<div class="line"><a id="l00357" name="l00357"></a><span class="lineno">  357</span> </div>
<div class="line"><a id="l00358" name="l00358"></a><span class="lineno">  358</span>  <span class="comment">// /**</span></div>
<div class="line"><a id="l00359" name="l00359"></a><span class="lineno">  359</span>  <span class="comment">//  * \brief Send Neighbor Status Request on all interfaces</span></div>
<div class="line"><a id="l00360" name="l00360"></a><span class="lineno">  360</span>  <span class="comment">// */</span></div>
<div class="line"><a id="l00361" name="l00361"></a><span class="lineno">  361</span>  <span class="comment">// void SendNeighborStatusRequest ();</span></div>
<div class="line"><a id="l00362" name="l00362"></a><span class="lineno">  362</span> </div>
<div class="line"><a id="l00366" name="l00366"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0c6b4896c7a02fc5b54a1d945f983f66">  366</a></span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0c6b4896c7a02fc5b54a1d945f983f66">SendTriggeredNeighborStatusUpdate</a> ();</div>
<div class="line"><a id="l00367" name="l00367"></a><span class="lineno">  367</span> </div>
<div class="line"><a id="l00371" name="l00371"></a><span class="lineno">  371</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f">SendUnsolicitedUpdate</a> ();</div>
<div class="line"><a id="l00372" name="l00372"></a><span class="lineno">  372</span> </div>
<div class="line"><a id="l00373" name="l00373"></a><span class="lineno">  373</span>  <span class="comment">// /**</span></div>
<div class="line"><a id="l00374" name="l00374"></a><span class="lineno">  374</span>  <span class="comment">//  * \brief Handle DGR requests.</span></div>
<div class="line"><a id="l00375" name="l00375"></a><span class="lineno">  375</span>  <span class="comment">//  * </span></div>
<div class="line"><a id="l00376" name="l00376"></a><span class="lineno">  376</span>  <span class="comment">//  * \param hdr message header (Including NSEs)</span></div>
<div class="line"><a id="l00377" name="l00377"></a><span class="lineno">  377</span>  <span class="comment">//  * \param senderAddress sender address</span></div>
<div class="line"><a id="l00378" name="l00378"></a><span class="lineno">  378</span>  <span class="comment">//  * \param senderPort sender port</span></div>
<div class="line"><a id="l00379" name="l00379"></a><span class="lineno">  379</span>  <span class="comment">//  * \param incomingInterface incoming interface</span></div>
<div class="line"><a id="l00380" name="l00380"></a><span class="lineno">  380</span>  <span class="comment">//  * \param hopLimit packet&#39;s hop limit</span></div>
<div class="line"><a id="l00381" name="l00381"></a><span class="lineno">  381</span>  <span class="comment">// */</span></div>
<div class="line"><a id="l00382" name="l00382"></a><span class="lineno">  382</span>  <span class="comment">// void HandleRequests (DgrHeader hdr,</span></div>
<div class="line"><a id="l00383" name="l00383"></a><span class="lineno">  383</span>  <span class="comment">//                     Ipv4Address senderAddress,</span></div>
<div class="line"><a id="l00384" name="l00384"></a><span class="lineno">  384</span>  <span class="comment">//                     uint16_t senderPort,</span></div>
<div class="line"><a id="l00385" name="l00385"></a><span class="lineno">  385</span>  <span class="comment">//                     uint32_t incomingInterface,</span></div>
<div class="line"><a id="l00386" name="l00386"></a><span class="lineno">  386</span>  <span class="comment">//                     uint8_t hopLimit);</span></div>
<div class="line"><a id="l00387" name="l00387"></a><span class="lineno">  387</span> </div>
<div class="line"><a id="l00396" name="l00396"></a><span class="lineno">  396</span>  <span class="keywordtype">void</span> <a class="code hl_function" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa29a1573985386ddcc0c9616ab524836">HandleResponses</a> (<a class="code hl_class" href="../../d1/de8/classns3_1_1_dgr_header.html">DgrHeader</a> hdr,</div>
<div class="line"><a id="l00397" name="l00397"></a><span class="lineno">  397</span>                       Ipv4Address senderAddress,</div>
<div class="line"><a id="l00398" name="l00398"></a><span class="lineno">  398</span>                       uint32_t incomingInterface,</div>
<div class="line"><a id="l00399" name="l00399"></a><span class="lineno">  399</span>                       uint8_t hopLimit);</div>
<div class="line"><a id="l00400" name="l00400"></a><span class="lineno">  400</span> </div>
<div class="line"><a id="l00401" name="l00401"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#ac1ef824e03b0393dcad185295ef373f6">  401</a></span>  Ptr&lt;OutputStreamWrapper&gt; <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#ac1ef824e03b0393dcad185295ef373f6">m_outStream</a> = Create&lt;OutputStreamWrapper&gt;</div>
<div class="line"><a id="l00402" name="l00402"></a><span class="lineno">  402</span>  (<span class="stringliteral">&quot;queueStatusErr.txt&quot;</span>, std::ios::out);</div>
<div class="line"><a id="l00403" name="l00403"></a><span class="lineno">  403</span> </div>
<div class="line"><a id="l00404" name="l00404"></a><span class="lineno"><a class="line" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a04c3b50d4a0ccec4f1422d0af4410b8f">  404</a></span>  <span class="keywordtype">bool</span> <a class="code hl_variable" href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a04c3b50d4a0ccec4f1422d0af4410b8f">m_initialized</a>; </div>
<div class="line"><a id="l00405" name="l00405"></a><span class="lineno">  405</span>};</div>
<div class="line"><a id="l00406" name="l00406"></a><span class="lineno">  406</span> </div>
<div class="line"><a id="l00407" name="l00407"></a><span class="lineno">  407</span> </div>
<div class="line"><a id="l00408" name="l00408"></a><span class="lineno">  408</span>} <span class="comment">// Namespace ns3</span></div>
<div class="line"><a id="l00409" name="l00409"></a><span class="lineno">  409</span> </div>
<div class="line"><a id="l00410" name="l00410"></a><span class="lineno">  410</span><span class="preprocessor">#endif </span><span class="comment">/* IPV4_DGR_ROUTING_H */</span><span class="preprocessor"></span></div>
<div class="ttc" id="aclass_ipv4_routing_protocol_html"><div class="ttname"><a href="../../de/d90/class_ipv4_routing_protocol.html">Ipv4RoutingProtocol</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_header_html"><div class="ttname"><a href="../../d1/de8/classns3_1_1_dgr_header.html">ns3::DgrHeader</a></div><div class="ttdoc">dgr header</div><div class="ttdef"><b>Definition</b> <a href="../../de/dc1/dgr-header_8h_source.html#l00095">dgr-header.h:96</a></div></div>
<div class="ttc" id="aclassns3_1_1_dgr_n_s_d_b_html"><div class="ttname"><a href="../../dd/d41/classns3_1_1_dgr_n_s_d_b.html">ns3::DgrNSDB</a></div><div class="ttdoc">The DGR neighbor status database.</div><div class="ttdef"><b>Definition</b> <a href="../../d1/daf/neighbor-status-database_8h_source.html#l00051">neighbor-status-database.h:52</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html">ns3::Ipv4DGRRouting</a></div><div class="ttdoc">Global routing protocol for IPv4 stacks.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00079">ipv4-dgr-routing.h:80</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a0280dbec23318b36b8c8b5a7c10510d4"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0280dbec23318b36b8c8b5a7c10510d4">ns3::Ipv4DGRRouting::HostRoutes</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt; HostRoutes</div><div class="ttdoc">container of Ipv4RoutingTableEntry (routes to hosts)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00291">ipv4-dgr-routing.h:291</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a036fb895e8c59952080959790ce8c665"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a036fb895e8c59952080959790ce8c665">ns3::Ipv4DGRRouting::GetTypeId</a></div><div class="ttdeci">static TypeId GetTypeId(void)</div><div class="ttdoc">Get the type ID.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00056">ipv4-dgr-routing.cc:56</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a04c3b50d4a0ccec4f1422d0af4410b8f"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a04c3b50d4a0ccec4f1422d0af4410b8f">ns3::Ipv4DGRRouting::m_initialized</a></div><div class="ttdeci">bool m_initialized</div><div class="ttdoc">flag to allow socket's late-creation.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00404">ipv4-dgr-routing.h:404</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a0521ee280d49058fdcf8b38bf550dd34"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0521ee280d49058fdcf8b38bf550dd34">ns3::Ipv4DGRRouting::NetworkRoutesI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::iterator NetworkRoutesI</div><div class="ttdoc">iterator of container of Ipv4RoutingTableEntry (routes to networks)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00302">ipv4-dgr-routing.h:302</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a0670297c54c9f0715d5d90a0cafc529d"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0670297c54c9f0715d5d90a0cafc529d">ns3::Ipv4DGRRouting::PrintRoutingTable</a></div><div class="ttdeci">void PrintRoutingTable(Ptr&lt; OutputStreamWrapper &gt; stream, Time::Unit unit=Time::S) const</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00970">ipv4-dgr-routing.cc:970</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a0bb01e6d6468d3c42a989434c193b372"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0bb01e6d6468d3c42a989434c193b372">ns3::Ipv4DGRRouting::DoInitialize</a></div><div class="ttdeci">void DoInitialize() override</div><div class="ttdoc">Start protocol operation.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00879">ipv4-dgr-routing.cc:879</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a0c6b4896c7a02fc5b54a1d945f983f66"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a0c6b4896c7a02fc5b54a1d945f983f66">ns3::Ipv4DGRRouting::SendTriggeredNeighborStatusUpdate</a></div><div class="ttdeci">void SendTriggeredNeighborStatusUpdate()</div><div class="ttdoc">Send Triggered Routing Updates on all interfaces.</div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a14c8aee9a70a6fbb8f1ea784689838d2"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a14c8aee9a70a6fbb8f1ea784689838d2">ns3::Ipv4DGRRouting::ASExternalRoutesI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::iterator ASExternalRoutesI</div><div class="ttdoc">iterator of container of Ipv4RoutingTableEntry (routes to external AS)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00309">ipv4-dgr-routing.h:309</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a207e729e59e0539db18dd241276bf02e"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a207e729e59e0539db18dd241276bf02e">ns3::Ipv4DGRRouting::SetIpv4</a></div><div class="ttdeci">void SetIpv4(Ptr&lt; Ipv4 &gt; ipv4)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01279">ipv4-dgr-routing.cc:1279</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a20d3a603d150f5ce97b49bcd1028e7e0"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a20d3a603d150f5ce97b49bcd1028e7e0">ns3::Ipv4DGRRouting::m_nsdb</a></div><div class="ttdeci">DgrNSDB m_nsdb</div><div class="ttdoc">the Neighbor State DataBase (NSDB) of the DGR Rout</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00316">ipv4-dgr-routing.h:316</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a238052760f17cb9a493e98ef38b6de8f"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a238052760f17cb9a493e98ef38b6de8f">ns3::Ipv4DGRRouting::SendUnsolicitedUpdate</a></div><div class="ttdeci">void SendUnsolicitedUpdate()</div><div class="ttdoc">Send Unsolicited neighbor status information Updates on all interfaces.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01356">ipv4-dgr-routing.cc:1356</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a258dcb9de99bd828247e0d6c3e08793d"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a258dcb9de99bd828247e0d6c3e08793d">ns3::Ipv4DGRRouting::DoDispose</a></div><div class="ttdeci">void DoDispose(void) override</div><div class="ttdoc">Dispose this object.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00852">ipv4-dgr-routing.cc:852</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a2eb8a683180ce3d3726767f5b986e3d8"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a2eb8a683180ce3d3726767f5b986e3d8">ns3::Ipv4DGRRouting::Receive</a></div><div class="ttdeci">void Receive(Ptr&lt; Socket &gt; socket)</div><div class="ttdoc">Receive an DGR message.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01287">ipv4-dgr-routing.cc:1287</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a3558caabfea9b5e9f27ccea4bb2b6603"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3558caabfea9b5e9f27ccea4bb2b6603">ns3::Ipv4DGRRouting::GetNRoutes</a></div><div class="ttdeci">uint32_t GetNRoutes(void) const</div><div class="ttdoc">Get the number of individual unicast routes that have been added to the routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00727">ipv4-dgr-routing.cc:727</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a3a1304dc7321af8536c44840257b8f50"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3a1304dc7321af8536c44840257b8f50">ns3::Ipv4DGRRouting::m_ASexternalRoutes</a></div><div class="ttdeci">ASExternalRoutes m_ASexternalRoutes</div><div class="ttdoc">External routes imported.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00313">ipv4-dgr-routing.h:313</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a3b78bce24115ecebf085e0c7c1f43583"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3b78bce24115ecebf085e0c7c1f43583">ns3::Ipv4DGRRouting::m_ipv4</a></div><div class="ttdeci">Ptr&lt; Ipv4 &gt; m_ipv4</div><div class="ttdoc">associated IPv4 instance</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00314">ipv4-dgr-routing.h:314</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a3df34b3a6127f1b45c0c5406e8080226"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3df34b3a6127f1b45c0c5406e8080226">ns3::Ipv4DGRRouting::m_randomEcmpRouting</a></div><div class="ttdeci">bool m_randomEcmpRouting</div><div class="ttdoc">Set to true if packets are randomly routed among ECMP; set to false for using only one route consiste...</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00284">ipv4-dgr-routing.h:284</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a3e0c7233d7c81a2ee3890506bd45e4a8"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a3e0c7233d7c81a2ee3890506bd45e4a8">ns3::Ipv4DGRRouting::m_nextUnsolicitedUpdate</a></div><div class="ttdeci">EventId m_nextUnsolicitedUpdate</div><div class="ttdoc">Next Unsolicited Update event.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00331">ipv4-dgr-routing.h:331</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a45022db22ac734cfdde51a3a8bc0ecf1"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a45022db22ac734cfdde51a3a8bc0ecf1">ns3::Ipv4DGRRouting::NotifyRemoveAddress</a></div><div class="ttdeci">void NotifyRemoveAddress(uint32_t interface, Ipv4InterfaceAddress address)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01267">ipv4-dgr-routing.cc:1267</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a493660f3b2ceaf55ef8b9c89aa5966f8"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a493660f3b2ceaf55ef8b9c89aa5966f8">ns3::Ipv4DGRRouting::SocketListI</a></div><div class="ttdeci">std::map&lt; Ptr&lt; Socket &gt;, uint32_t &gt;::iterator SocketListI</div><div class="ttdoc">socket list type iterator</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00324">ipv4-dgr-routing.h:324</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a50f6d06d84b83009e0b0a8fe170bc5d1"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a50f6d06d84b83009e0b0a8fe170bc5d1">ns3::Ipv4DGRRouting::ASExternalRoutesCI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::const_iterator ASExternalRoutesCI</div><div class="ttdoc">const iterator of container of Ipv4RoutingTableEntry (routes to external AS)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00307">ipv4-dgr-routing.h:307</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a54fc1b9c309b92d6d2e6c193752eb4bc"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a54fc1b9c309b92d6d2e6c193752eb4bc">ns3::Ipv4DGRRouting::AssignStreams</a></div><div class="ttdeci">int64_t AssignStreams(int64_t stream)</div><div class="ttdoc">Build the routing database by gathering Link State Advertisements from each node exporting a DGRRoute...</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00844">ipv4-dgr-routing.cc:844</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a552819000c07190404d6bd5db6d1ce84"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a552819000c07190404d6bd5db6d1ce84">ns3::Ipv4DGRRouting::LookupDGRRoute</a></div><div class="ttdeci">Ptr&lt; Ipv4Route &gt; LookupDGRRoute(Ipv4Address dest, Ptr&lt; Packet &gt; p, Ptr&lt; const NetDevice &gt; idev=0)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00253">ipv4-dgr-routing.cc:253</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a55aea61c57e39ba4756d22d4e646cd3e"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a55aea61c57e39ba4756d22d4e646cd3e">ns3::Ipv4DGRRouting::RemoveRoute</a></div><div class="ttdeci">void RemoveRoute(uint32_t i)</div><div class="ttdoc">Remove a route from the global unicast routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00787">ipv4-dgr-routing.cc:787</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a5fabc015fa802a4c056cf14359ea898e"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a5fabc015fa802a4c056cf14359ea898e">ns3::Ipv4DGRRouting::NotifyInterfaceDown</a></div><div class="ttdeci">void NotifyInterfaceDown(uint32_t interface)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01243">ipv4-dgr-routing.cc:1243</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a619144f0acc141bc74ae09ace488009a"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a619144f0acc141bc74ae09ace488009a">ns3::Ipv4DGRRouting::HostRoutesCI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::const_iterator HostRoutesCI</div><div class="ttdoc">const iterator of container of Ipv4RoutingTableEntry (routes to hosts)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00293">ipv4-dgr-routing.h:293</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a6927e0c49f53e92eb4b2acaf5cfebf31"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6927e0c49f53e92eb4b2acaf5cfebf31">ns3::Ipv4DGRRouting::ASExternalRoutes</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt; ASExternalRoutes</div><div class="ttdoc">container of Ipv4RoutingTableEntry (routes to external AS)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00305">ipv4-dgr-routing.h:305</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a6bb30b8faec1a9afebab84881299d323"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a6bb30b8faec1a9afebab84881299d323">ns3::Ipv4DGRRouting::SocketList</a></div><div class="ttdeci">std::map&lt; Ptr&lt; Socket &gt;, uint32_t &gt; SocketList</div><div class="ttdoc">One socket per interface, each bound to that interface's address (reason: for Neighbor status sensing...</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00322">ipv4-dgr-routing.h:322</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a721c9a4f9f12805a8c68f2972bbe2e9c"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a721c9a4f9f12805a8c68f2972bbe2e9c">ns3::Ipv4DGRRouting::~Ipv4DGRRouting</a></div><div class="ttdeci">~Ipv4DGRRouting()</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00093">ipv4-dgr-routing.cc:93</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a744cc3e33b740ef8a80775b61c1ea598"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a744cc3e33b740ef8a80775b61c1ea598">ns3::Ipv4DGRRouting::SocketListCI</a></div><div class="ttdeci">std::map&lt; Ptr&lt; Socket &gt;, uint32_t &gt;::const_iterator SocketListCI</div><div class="ttdoc">socket list type const iterator</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00326">ipv4-dgr-routing.h:326</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a77198894f24e45afcdcd80c63f02a507"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a77198894f24e45afcdcd80c63f02a507">ns3::Ipv4DGRRouting::m_multicastRecvSocket</a></div><div class="ttdeci">Ptr&lt; Socket &gt; m_multicastRecvSocket</div><div class="ttdoc">multicast receive socket</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00329">ipv4-dgr-routing.h:329</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a7e7c34d7e0a922980bf3fdf62f9bbe1b"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7e7c34d7e0a922980bf3fdf62f9bbe1b">ns3::Ipv4DGRRouting::RouteInput</a></div><div class="ttdeci">bool RouteInput(Ptr&lt; const Packet &gt; p, const Ipv4Header &amp;header, Ptr&lt; const NetDevice &gt; idev, UnicastForwardCallback ucb, MulticastForwardCallback mcb, LocalDeliverCallback lcb, ErrorCallback ecb)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01160">ipv4-dgr-routing.cc:1160</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a7f83eeb24903b910a78b02257e27327f"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a7f83eeb24903b910a78b02257e27327f">ns3::Ipv4DGRRouting::NetworkRoutes</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt; NetworkRoutes</div><div class="ttdoc">container of Ipv4RoutingTableEntry (routes to networks)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00298">ipv4-dgr-routing.h:298</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a8656e82eb3ad70826fc72f14d85bfab6"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8656e82eb3ad70826fc72f14d85bfab6">ns3::Ipv4DGRRouting::m_interfaceExclusions</a></div><div class="ttdeci">std::set&lt; uint32_t &gt; m_interfaceExclusions</div><div class="ttdoc">Set of excluded interfaces.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00343">ipv4-dgr-routing.h:343</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a89c21e449a0c76b491a29fb1e1e81eb9"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a89c21e449a0c76b491a29fb1e1e81eb9">ns3::Ipv4DGRRouting::m_respondToInterfaceEvents</a></div><div class="ttdeci">bool m_respondToInterfaceEvents</div><div class="ttdoc">Set to true if this interface should respond to interface events by globallly recomputing routes.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00286">ipv4-dgr-routing.h:286</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a8fe42d90325ac5879408d2257ce57c47"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a8fe42d90325ac5879408d2257ce57c47">ns3::Ipv4DGRRouting::HostRoutesI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::iterator HostRoutesI</div><div class="ttdoc">iterator of container of Ipv4RoutingTableEntry (routes to hosts)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00295">ipv4-dgr-routing.h:295</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a92e2368664df1213c26bafd520582032"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a92e2368664df1213c26bafd520582032">ns3::Ipv4DGRRouting::m_rand</a></div><div class="ttdeci">Ptr&lt; UniformRandomVariable &gt; m_rand</div><div class="ttdoc">A uniform random number generator for randomly routing packets among ECMP.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00288">ipv4-dgr-routing.h:288</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a93f4dd2543d12d9466bbd7b6131e0580"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a93f4dd2543d12d9466bbd7b6131e0580">ns3::Ipv4DGRRouting::m_hostRoutes</a></div><div class="ttdeci">HostRoutes m_hostRoutes</div><div class="ttdoc">Routes to hosts.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00311">ipv4-dgr-routing.h:311</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a946d8c87ff42387b8aa817fe09bd838e"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a946d8c87ff42387b8aa817fe09bd838e">ns3::Ipv4DGRRouting::NetworkRoutesCI</a></div><div class="ttdeci">std::list&lt; Ipv4DGRRoutingTableEntry * &gt;::const_iterator NetworkRoutesCI</div><div class="ttdoc">const iterator of container of Ipv4RoutingTableEntry (routes to networks)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00300">ipv4-dgr-routing.h:300</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a94b9f168bd3285ed47b5c5f1f59f847b"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a94b9f168bd3285ed47b5c5f1f59f847b">ns3::Ipv4DGRRouting::AddASExternalRouteTo</a></div><div class="ttdeci">void AddASExternalRouteTo(Ipv4Address network, Ipv4Mask networkMask, Ipv4Address nextHop, uint32_t interface)</div><div class="ttdoc">Add an external route to the global routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00173">ipv4-dgr-routing.cc:173</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a95ddcbfcdb50ecdb48bfd91575836fe6"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a95ddcbfcdb50ecdb48bfd91575836fe6">ns3::Ipv4DGRRouting::LookupUniRoute</a></div><div class="ttdeci">Ptr&lt; Ipv4Route &gt; LookupUniRoute(Ipv4Address dest, Ptr&lt; NetDevice &gt; oif=0)</div><div class="ttdoc">Lookup in the forwarding table for destination.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00189">ipv4-dgr-routing.cc:189</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a9715cb5895be31d03b1ffe15212fec57"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9715cb5895be31d03b1ffe15212fec57">ns3::Ipv4DGRRouting::NotifyInterfaceUp</a></div><div class="ttdeci">void NotifyInterfaceUp(uint32_t interface)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01231">ipv4-dgr-routing.cc:1231</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_a9cdc7d3663a11b90bec029c7a3e6cba2"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#a9cdc7d3663a11b90bec029c7a3e6cba2">ns3::Ipv4DGRRouting::NotifyAddAddress</a></div><div class="ttdeci">void NotifyAddAddress(uint32_t interface, Ipv4InterfaceAddress address)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01255">ipv4-dgr-routing.cc:1255</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aa29a1573985386ddcc0c9616ab524836"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa29a1573985386ddcc0c9616ab524836">ns3::Ipv4DGRRouting::HandleResponses</a></div><div class="ttdeci">void HandleResponses(DgrHeader hdr, Ipv4Address senderAddress, uint32_t incomingInterface, uint8_t hopLimit)</div><div class="ttdoc">Handle DGR responses.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01432">ipv4-dgr-routing.cc:1432</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aa6cef6ca1b8081689f2c63246b96eacb"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa6cef6ca1b8081689f2c63246b96eacb">ns3::Ipv4DGRRouting::m_unsolicitedUpdate</a></div><div class="ttdeci">Time m_unsolicitedUpdate</div><div class="ttdoc">Time between two Unsolicited Neighbor State Updates.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00334">ipv4-dgr-routing.h:334</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aa949f02ca52008f8201ee9915fdd0191"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aa949f02ca52008f8201ee9915fdd0191">ns3::Ipv4DGRRouting::RouteOutput</a></div><div class="ttdeci">Ptr&lt; Ipv4Route &gt; RouteOutput(Ptr&lt; Packet &gt; p, const Ipv4Header &amp;header, Ptr&lt; NetDevice &gt; oif, Socket::SocketErrno &amp;sockerr)</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01040">ipv4-dgr-routing.cc:1040</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aab87511766c1d52fad340cb7e9031ad2"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aab87511766c1d52fad340cb7e9031ad2">ns3::Ipv4DGRRouting::m_nextTriggeredUpdate</a></div><div class="ttdeci">EventId m_nextTriggeredUpdate</div><div class="ttdoc">Next Triggered Update event.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00332">ipv4-dgr-routing.h:332</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aaf886686054aa6dfa4779ce25b4ee21a"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aaf886686054aa6dfa4779ce25b4ee21a">ns3::Ipv4DGRRouting::AddNetworkRouteTo</a></div><div class="ttdeci">void AddNetworkRouteTo(Ipv4Address network, Ipv4Mask networkMask, Ipv4Address nextHop, uint32_t interface)</div><div class="ttdoc">Add a network route to the global routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00145">ipv4-dgr-routing.cc:145</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_ac186d277e77bbdfb2bc216691eefbbab"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#ac186d277e77bbdfb2bc216691eefbbab">ns3::Ipv4DGRRouting::GetRoute</a></div><div class="ttdeci">Ipv4DGRRoutingTableEntry * GetRoute(uint32_t i) const</div><div class="ttdoc">Get a route from the global unicast routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00738">ipv4-dgr-routing.cc:738</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_ac1ef824e03b0393dcad185295ef373f6"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#ac1ef824e03b0393dcad185295ef373f6">ns3::Ipv4DGRRouting::m_outStream</a></div><div class="ttdeci">Ptr&lt; OutputStreamWrapper &gt; m_outStream</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00401">ipv4-dgr-routing.h:401</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_acf002938df9649de6e46caba3212d52a"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#acf002938df9649de6e46caba3212d52a">ns3::Ipv4DGRRouting::m_unicastSocketList</a></div><div class="ttdeci">SocketList m_unicastSocketList</div><div class="ttdoc">list of sockets for unicast messages (socket, interface index)</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00328">ipv4-dgr-routing.h:328</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_adf7379affaf0463cb351765b3caf8dae"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#adf7379affaf0463cb351765b3caf8dae">ns3::Ipv4DGRRouting::m_networkRoutes</a></div><div class="ttdeci">NetworkRoutes m_networkRoutes</div><div class="ttdoc">Routes to networks.</div><div class="ttdef"><b>Definition</b> <a href="../../dd/d5c/ipv4-dgr-routing_8h_source.html#l00312">ipv4-dgr-routing.h:312</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aec9dd007650cdc339cc98cfd210ebe22"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aec9dd007650cdc339cc98cfd210ebe22">ns3::Ipv4DGRRouting::Ipv4DGRRouting</a></div><div class="ttdeci">Ipv4DGRRouting()</div><div class="ttdoc">Construct an empty Ipv4GlobalRouting routing protocol,.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00081">ipv4-dgr-routing.cc:81</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aff694e326df155e5a99a85d805b7d172"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff694e326df155e5a99a85d805b7d172">ns3::Ipv4DGRRouting::DoSendNeighborStatusUpdate</a></div><div class="ttdeci">void DoSendNeighborStatusUpdate(bool periodic)</div><div class="ttdoc">Sending Neighbor Status Updates on all interfaces.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l01370">ipv4-dgr-routing.cc:1370</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_html_aff852295cbcf0faf17da98100b6d04ab"><div class="ttname"><a href="../../d3/d71/classns3_1_1_ipv4_d_g_r_routing.html#aff852295cbcf0faf17da98100b6d04ab">ns3::Ipv4DGRRouting::AddHostRouteTo</a></div><div class="ttdeci">void AddHostRouteTo(Ipv4Address dest, Ipv4Address nextHop, uint32_t interface)</div><div class="ttdoc">Add a host route to the global routing table.</div><div class="ttdef"><b>Definition</b> <a href="../../d2/dc4/ipv4-dgr-routing_8cc_source.html#l00099">ipv4-dgr-routing.cc:99</a></div></div>
<div class="ttc" id="aclassns3_1_1_ipv4_d_g_r_routing_table_entry_html"><div class="ttname"><a href="../../dd/d84/classns3_1_1_ipv4_d_g_r_routing_table_entry.html">ns3::Ipv4DGRRoutingTableEntry</a></div><div class="ttdoc">A record of an IPv4 routing table entry for Ipv4GlobalRouting and Ipv4StaticRouting.</div><div class="ttdef"><b>Definition</b> <a href="../../db/db8/ipv4-dgr-routing-table-entry_8h_source.html#l00019">ipv4-dgr-routing-table-entry.h:19</a></div></div>
<div class="ttc" id="adgr-header_8h_html"><div class="ttname"><a href="../../de/dc1/dgr-header_8h.html">dgr-header.h</a></div></div>
<div class="ttc" id="adgr-route-manager-impl_8h_html"><div class="ttname"><a href="../../d5/d9c/dgr-route-manager-impl_8h.html">dgr-route-manager-impl.h</a></div></div>
<div class="ttc" id="aipv4-dgr-routing-table-entry_8h_html"><div class="ttname"><a href="../../db/db8/ipv4-dgr-routing-table-entry_8h.html">ipv4-dgr-routing-table-entry.h</a></div></div>
<div class="ttc" id="anamespacens3_html"><div class="ttname"><a href="../../d7/d2e/namespacens3.html">ns3</a></div><div class="ttdef"><b>Definition</b> <a href="../../d5/d65/dgr-application-helper_8cc_source.html#l00027">dgr-application-helper.cc:27</a></div></div>
<div class="ttc" id="anamespacens3_html_aa5e169e2453984d2f21c0d5cec9e907b"><div class="ttname"><a href="../../d7/d2e/namespacens3.html#aa5e169e2453984d2f21c0d5cec9e907b">ns3::i</a></div><div class="ttdeci">int i</div><div class="ttdef"><b>Definition</b> <a href="../../d3/d89/dgr-sink_8cc_source.html#l00169">dgr-sink.cc:169</a></div></div>
<div class="ttc" id="aneighbor-status-database_8h_html"><div class="ttname"><a href="../../d1/daf/neighbor-status-database_8h.html">neighbor-status-database.h</a></div></div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="../../dir_3f14f6767c31cb4a1d22c13c18cc6fc3.html">model</a></li><li class="navelem"><a class="el" href="../../dd/d5c/ipv4-dgr-routing_8h.html">ipv4-dgr-routing.h</a></li>
    <li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.7 </li>
  </ul>
</div>
</body>
</html>
